<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>
	
<rich:panel header="#{messages['voucher.mgmt.label']}">
	<h:panelGrid>
		<h:outputText value="#{errorBean.errorMessage}" styleClass="error"></h:outputText>
	</h:panelGrid>
	
	<h:panelGrid width="100%">
	    <h:outputText value="#{voucherMgmtBean.ackTitle}" styleClass="sub_header" />
	</h:panelGrid>
	
	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
		<h:outputLabel for="assignTo" value="#{messages['voucher.assign.to.label']}" styleClass="standardText_Label" />
		<h:outputText id="assignTo" value="#{voucherMgmtBean.assignToLabel}" styleClass="standardText" />
		
		<h:outputLabel for="assignToLabel" value="#{voucherMgmtBean.assignToLabel}" styleClass="standardText_Label" />
		<h:outputText id="assignToLabel" value="#{voucherMgmtBean.assignTo}" styleClass="standardText" />
		
		<h:outputLabel for="startVoucher" value="#{messages['voucher.start.label']}" styleClass="standardText_Label" />
		<h:outputText id="startVoucher" value="#{voucherMgmtBean.startVoucher.voucherNo}" styleClass="standardText" />
		
		<h:outputLabel for="lastVoucher" value="#{messages['voucher.last.label']}" styleClass="standardText_Label" />
		<h:outputText id="lastVoucher" value="#{voucherMgmtBean.lastVoucher.voucherNo}" styleClass="standardText" />
		
		<t:outputText></t:outputText>
		<t:commandButton styleClass="button" binding="#{voucherMgmtBean.htmlCmdButton}" ></t:commandButton>
	</t:panelGrid>
</rich:panel>	